<div class="g-bd clearfix">        
    <?php echo $this->render('index/left.phtml');?>    
    <!-- 主栏 -->
    <div class="g-mn">
	    <div class="w-blk0 w-blk-pdishow">
            <h2 class="blk0h2 f-iblk clearfix">
            	<span class="spbg blkhdl"><a href="<?php echo MY_URL;?>">Home</a> &gt; <a href="cmn-1-package_jerseys.html"><?=$this->crawlItem['name']?></a></span>
                <span class="spbg blkhdr">&nbsp;</span>
            </h2>
            <div class="blkbody">
            	<div class="pdinfo clearfix">
                    <div class="psimg">
                        <div class="pbimg gallery maxScore" id="maxScoreDiv">
                            <a target="_blank" href="<?=MY_URL?>/<?php echo $this->crawlItem['imgUrl'] ?>"><span itemprop="image"><img style="width: 258px;" src="<?=MY_URL?>/<?php echo $this->crawlItem['imgUrl'] ?>" onerror="javascript:this.src ='<?=MY_URL?>/html/images/nothingpic.jpg'"/></span></a>
                        </div>
                    </div> 
              		<div class="pdmore">
                    	<h1 class="pdtitle2">
							<span itemprop="name"><?=$this->crawlItem['name']?></span>
                        </h1>
                        <div class="pdprice pitem clearfix maxScore" id="onlyPriceDiv">
                        	<div>Price: <span itemprop="price" class="jersey-price" style="line-height: 29px;margin: 0 10px;"><?php echo $this->crawlItem['price']?></span></div>
                        </div>
                        
                        <div class="description showmore">
							<span itemprop="description"><? echo $this->crawlItem['description'];?></span>
                        </div>   
                        <div><a id="showPdDesc" href="#">more</a></div> 
                        <div style="padding:5px 10px;background-color:#6d84b4;color:#fff;margin:8px 0px;width:315px;line-height:17px;border-radius:5px;">Bring a friend and earn dollars with us! <a style="text-decoration:underline;color:white;font-weight:bold;" href="/bring-a-friend-and-earn-with-us">Earn Now &gt;&gt;</a></div>                               
                        <div class="paddcart pitem">
                        	<a id="pditemauthorA" href="#pditemauthor" class="pditemauthor spbg f-iblk">Check Lower Discount Jerseys</a>
                        </div>                            
                                                    
                        <div class="pshare clearfix pitem">
							<a href="#" class="spbg fb-share" style="float: left;display: inline;width: 80px; padding-top: 5px; background: none;">
                            	<fb:like href="http://www.facebook.com/bestcheapjerseydeal.Soccer.Jersey" send="false" layout="button_count" show_faces="false" font="" width="80"></fb:like>
							</a>								
							<a class="spbg fb-share" onclick="window.open('http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo urlencode($this->crawlItem['name']);?>&amp;p[summary]=&amp;p[url]=<?php echo urlencode(MY_URL.'/football_shirt_'.$this->crawlItem['id'].'.html');?>&amp;&p[images][0]=<?php echo urlencode(MY_URL.'/');?><?php echo urlencode($this->crawlItem['cutUrl']);?>', 'sharer', 'toolbar=0,status=0,width=620,height=280');" href="javascript: void(0)">&nbsp;</a>
                            <a href="#" class="spbg fb-share" style="float: left;display: inline;width: 80px;overflow: hidden; padding-top: 5px; background: none;margin-right: 0;"><g:plusone size="medium"></g:plusone></a>
                            <a href="http://twitter.com/share?url=<?=MY_URL?>/football_shirt_<?php echo $this->crawlItem['id']?>.html&amp;text=<?=str_replace('#', ' ',$this->crawlItem['name'])?>" class="spbg tw-share"></a>
                        </div>
                    </div>
                </div>
                <?php if($this->myLikeCrawlItemArray):?>
	                <link rel="stylesheet" type="text/css" href="<?=MY_URL?>/css/slider/slider.css" />
					<link rel="stylesheet" type="text/css" href="<?=MY_URL?>/css/slider/tooltip.css" />
					<script type="text/javascript" src="<?=MY_URL?>/html/scripts/slider/jquery-slider.js"></script>
					<script type="text/javascript" src="<?=MY_URL?>/html/scripts/slider/tooltip.js?v=1"></script>
	                <div id="mcts1">
	                	<?php $cindex = 0;?>
	                	<?php foreach($this->myLikeCrawlItemArray as $crawlItem):?>
	                		<?php $cindex++;?>
		                	<?php if (isset($crawlItem['subject'])):?>
		                		<a href="<?php echo $this->url($crawlItem['itemid']);?>"><img style="width:114px" src="<?=MY_URL?>/<?php echo $crawlItem['cut_url'];?>" onmouseover="tooltip.pop(this, '#tip<?php echo $cindex;?>')" /></a>
		                	<?php else:?>
		                		<a href="/football_shirt_<?php echo $crawlItem['id'];?>.html"><img style="width:114px" src="<?php echo MY_URL;?>/<?php echo $crawlItem['cutUrl'];?>" onmouseover="tooltip.pop(this, '#tip<?php echo $cindex;?>')" /></a>
		                	<?php endif;?>
			            <?php endforeach;?>
			        </div>
			        <div style="display:none;">
			        	<?php $cindex = 0;?>
			        	<?php foreach($this->myLikeCrawlItemArray as $crawlItem):?>
			        	<?php $cindex++;?>
				        <div id="tip<?php echo $cindex;?>">
				            <div class="tips" style="text-align:left;">
				            	<h2 style="margin-bottom:10px;">
				            	<?php if (isset($crawlItem['subject'])):?>
				            		<a href="<?php echo $this->url($crawlItem['itemid']);?>"><?php echo $crawlItem['subject'];?></a>
				            	<?php else:?>
				            		<a href="/football_shirt_<?php echo $crawlItem['id'];?>.html"><?php echo $crawlItem['name'];?></a>
				            	<?php endif;?>
				            	</h2>
				                <?php echo $crawlItem['description'];?>
				            </div>
				        </div>
				        <?php endforeach; ?>
				    </div>
		        <?php endif;?>
                <div><a name="pditemauthor">&nbsp;</a></div>
                <?php if(count($this->itemArray) > 0){ ?>
                <div class="w-blk-pdlshow">
                	<h1 class="blk0h2 f-iblk clearfix" style="margin-bottom:5px;">
	                	<span class="spbg blkhdl" style="width:610px;">You May Like</span>
	                    <span class="spbg blkhdr">

						</span>                    
	                </h1>
                    <div class="bikbody">
                        <ul class="clearfix">
                        <?php $index=0;?>
                        <?php foreach ($this->itemArray as $v):?>
                            <li class="clearfix">                    	
                                 <div class="prd simg"><a href="<?php echo $this->url($v['itemid']);?>" title="<?php echo $v['subject'];?>"><img alt="<?php echo $v['pattern_intro'];?>" title="<?php echo $v['pattern_intro'];?>" src="<?php echo MY_URL;?>/<?php echo $v['cut_url'];?>" onerror="javascript:this.src ='<?=MY_URL?>/html/images/nothingpic.jpg'" /></a></div>
                                 <div class="prdl">
                                    <h2 class="spname"><a href="<?php echo $this->url($v['itemid']);?>" title="<?php echo $v['subject'];?>"><?php echo $v['subject'];?></a></h2>
                                    <div class="description"><?php echo $v['description'];?></div>
                                    <div class="sprice clearfix"><a class="spbg f-iblk priceA" href="<?php echo $this->url($v['itemid']);?>" title="<?php echo $v['subject'];?>">Price <span class="delete">$<?php echo $v['m_org_price'];?></span> <strong>$<?php echo $v['max_price'];?></strong></a><a class="buynowA spbg f-iblk" href="<?php echo $this->url($v['itemid']);?>">BUY&nbsp;&nbsp;NOW</a></div>
                                 </div>
                                 <?php if($index<2):?>
                                 <a href="<?php echo $this->url($v['itemid']);?>" class="hot-prd f-iblk">&nbsp;</a>
                                 <?php else: ?>
                                 <?php if($v['m_org_price']>0):?><a href="<?php echo $this->url($v['itemid']);?>" class="discount-prd f-iblk"><?php echo intval(($v['m_org_price']-$v['max_price'])/$v['m_org_price']*100) ?>%</a><?php endif;?>
                                 <?php endif; ?>
                                 <?if($v['proPrintnumber']):?>
		                         		<a style="top:-6px;left:100px;" href="<?php echo $this->url($v['itemid']);?>" class="customize-prd f-iblk"></a>
		                         	<?php endif;?>
                              </li>
                       <?php $index++;?>
                       <?php endforeach;?>                                 
                        </ul>           
                    </div>    
                </div>
                <?php } ?>
                <div style="margin:10px;"><div class="fb-comments" data-href="http://www.bestcheapjerseydeal.com" data-width="700" data-num-posts="50"></div></div>
                <div class="spbg2 pd-adver">
                    <strong>WOW!</strong>
	            	<span>
	            		<span>Free Shipping</span>
	            		<span class="spbg2">Free Returns</span>
	            		<span class="spbg2">Free 365 Day Return Policy</span>
	            		<span class="spbg2">24/7 Customer Service</span>
	            	</span>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">

$('#showPdDesc').toggle(function(){
	$(this).parent().prev().removeClass('showmore');
	$(this).text('less');
	return false;
},function(){
	$(this).parent().prev().addClass('showmore');
	$(this).text('more');
	return false;
});
<?php if($this->maxScore > 0.8):?>
$('#maxScoreDiv a').attr('href','<?php echo MY_URL;?>/<?php echo $this->itemArray[0]['medium_url'];?>');
var _span = $('#maxScoreDiv img').parent();
$('#maxScoreDiv img').remove();
_span.html('<img style="width: 258px;" src="/<?php echo $this->itemArray[0]['medium_url'];?>"/>');
$('#onlyPriceDiv span').html('<span class="delete">$<?php echo $this->itemArray[0]['m_org_price'];?></span> $<?php echo $this->itemArray[0]['max_price']?>');
$('#onlyPriceDiv').css('visibility','visible');
<?php else:?>
var crawlPrice = '<?php echo $this->onlyPrice;?>';
if(crawlPrice>=40){
	$('#onlyPriceDiv').css('visibility','visible');
}
<?php endif;?>
$('#maxScoreDiv').css('visibility','visible');

<?php if($this->maxScore > 0.5):?>
$('#pditemauthorA').html('&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I\'m Feeling Lucky Now!');
$('#pditemauthorA').after('<div style="color:#808080">&nbsp;If you are lucky, you will get the lower discount.</div>');
$('#pditemauthorA')[0].href='<?php echo $this->url($this->itemArray[0]['itemid']);?>';
$('#pditemauthorA').attr('target','_blank');
<?php endif;?>
</script>
<script src="<?=MY_URL?>/html/scripts/shop/shop.js"></script>
<script src="<?=MY_URL?>/html/scripts/jquery.divSelect.js"></script>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>